#include<stdio.h>
int main()
{
	
	int a;
	int b;
	char c;
	
	char ch2;
	scanf("%d %d %c",&a,&b,&ch2);
	switch(ch2)
	{
		case '+':
			printf("%d",a+b);
			break;
		case '-':
			printf("%d",a-b);
			break;
		case '*':
			printf("%d",a*b);
			break;
		case '/':
			if (b == 0)
			{
				printf("Divided by zero!");
				break;
			}
			else
				{
				printf("%d",a/b);
				break;
				}
			
		default:
			printf("Invalid operator!");
			break;
	}
	
	return 0;
}
